Building the Model: General Elements > Pre-defined Tank Subroutines > Tank_Inc

Tank_Inc

Syntax samples

TANK_INC (<Tank ID>, <Quantity>)

TANK_INC (StorageTank, 5000)

Description

Instantly increases the level of a tank by a specified quantity. If the tank has insufficient capacity, the level increases as capacity becomes available. ProModel sets the tank state to Tank_Blocked if the level increases to the tank capacity, otherwise the state remains unchanged.

 

Use Tank_Inc to instantly add a specific quantity to a tank.

Components

<Tank ID>

The tank name or location index number.

<Quantity>

The number of units by which to increment the contents of the tank (gallons, pounds).

Example

Trucks deliver pellets to a holding bin twice a day. When a truck arrives at the drop-off station, it dumps the entire 5,000 lb load in only 2.5 minutes. To model this, define the following operation logic for the truck at the drop-off station:

 

WAIT 2.5 MIN

Tank_Inc(HoldingBin, 5000)


© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com